<?php
/* @var $this SiteController */
/* @var $model ContactForm */
/* @var $form CActiveForm */

$this->breadcrumbs=array(
	'Contact',
);

$this->pageTitle = Yii::app()->name . ' - Contact Us';

?>

<div class="siderbar" >
<p></p>
<p>Guangzhou Vincent Shoes Co.,Ltd</p>
<p>ROOM 766 and stop A382, NO.103, HUANSHI WEST ROAD.LIWAN DISTRICT, GUANGZHOU, GUANGDONG, CHINA</p>
<p>Mobile/Wecaht:181144823306, 13826175448, LINDA</p>
<p>TEL:+86-20-81773106</p>
<p>FAX:+86-20-81774806</p>
<p>Email:<a class="email" href="mailto:linda17909@163.com">linda17909@163.com</a></p>
</div>

<div class="right_content">

<?php if(Yii::app()->user->hasFlash('contact')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>

<?php else: ?>



<p>
If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.
</p>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'contact-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>


	<?php echo $form->errorSummary($model); ?>

	<table>
	<tr>
	<td><?php echo $form->labelEx($model,'name'); ?></td>
	<td><?php echo $form->textField($model,'name',array('class' => 'text-input small-input')); ?></td>
	</tr>
	<tr>
	<td><?php echo $form->error($model,'name'); ?></td>
	<td></td>
	</tr>
	
	<tr>
	<td><?php echo $form->labelEx($model,'email'); ?></td>
	<td><?php echo $form->textField($model,'email',array('class' => 'text-input small-input')); ?></td>
	</tr>
	<tr>
	<td><?php echo $form->error($model,'email'); ?></td>
	<td></td>
	</tr>
	
	<tr>
	<td><?php echo $form->labelEx($model,'phone'); ?></td>
	<td><?php echo $form->textField($model,'phone',array('class' => 'text-input small-input')); ?></td>
	</tr>
	<tr>
	<td><?php echo $form->error($model,'phone'); ?></td>
	<td></td>
	</tr>

	<tr>
	<td><?php echo $form->labelEx($model,'content'); ?></td>
	<td><?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>30)); ?></td>
	</tr>
	<tr>
	<td><?php echo $form->error($model,'content'); ?></td>
	<td></td>
	</tr>
	
	<?php if(CCaptcha::checkRequirements()): ?>	
	<tr>
	<td class="verifyCode"><?php $this->widget('CCaptcha'); ?></td>
	<td><?php echo $form->textField($model,'verifyCode',array('class' => 'text-input small-input')); ?></td>
	</tr>
	<tr>
	<td><?php echo $form->error($model,'verifyCode'); ?></td>
	<td></td>
	
	</tr>
	
	<?php endif; ?>
	<tr>
	<td></td>
	<td align="right"><?php echo CHtml::submitButton('Submit'); ?></td>
	</tr>
		
	</table>


<?php $this->endWidget(); ?>

</div><!-- form -->


<?php endif; ?>


</div>